\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid}{
\section{com.engine.pattern.grid.Grid Class Reference}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid}\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
}
Collaboration diagram for com.engine.pattern.grid.Grid:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=196pt]{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a5b347bb6b70ec707b0622dc9201e1415}{Grid} ()
\item 
\hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_ae1a29439b5aa3a609dc1a7a0a9bf6a9d}{Grid} (Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a90edf102f439c2261ac3e30b4b821d7c}{xLength}, Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_abbf5724bae8f5b318deef7954b12b4d8}{yLength})
\item 
\hyperlink{classcom_1_1engine_1_1pattern_1_1pawn_1_1Pawn}{Pawn} \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a8d7ede70a2d7efb31eb3f99d568073cd}{getPawn} (Integer ligne, Integer colonne)
\item 
\hyperlink{classcom_1_1engine_1_1pattern_1_1pawn_1_1Pawn}{Pawn} \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a5127bee473bcd7cf3efe9a30a8239076}{getPawn} (Integer\mbox{[}$\,$\mbox{]} coordinated)
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a183610ee5ff0d8a684fca8805587bca9}{addPawn} (\hyperlink{classcom_1_1engine_1_1pattern_1_1pawn_1_1Pawn}{Pawn} \hyperlink{classcom_1_1engine_1_1pattern_1_1pawn_1_1Pawn}{Pawn}, Integer ligne, Integer colonne)
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a22e999535acd54344f474905faeba722}{removePawn} (Integer ligne, Integer colonne)
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a2426f8b4648132fa7198cce873862455}{removePawn} (Integer\mbox{[}$\,$\mbox{]} coordinated)
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_ae50e4b2e83526bc5a35cefb4b44099ca}{movePawn} (Integer ligne1, Integer colonne1, Integer ligne2, Integer colonne2)
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a08382c82c251177f1179452af72738f2}{movePawn} (Integer\mbox{[}$\,$\mbox{]} coordinated1, Integer\mbox{[}$\,$\mbox{]} coordinated2)
\item 
\hyperlink{classcom_1_1engine_1_1pattern_1_1pawn_1_1Pawn}{Pawn}\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]} \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a0f1058ac33744f6b4317cd1a0b5b9041}{getGrid} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a6adcc44739c852c828cbad8afce687df}{createGrid} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a90edf102f439c2261ac3e30b4b821d7c}{xLength} = 30
\item 
Integer \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_abbf5724bae8f5b318deef7954b12b4d8}{yLength} = 30
\item 
\hyperlink{classcom_1_1engine_1_1pattern_1_1pawn_1_1Pawn}{Pawn}\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]} \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a46c056a83e5d6d01141387354e297797}{grid}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
jonathan 

fabienne 
\end{DoxyAuthor}


Definition at line 9 of file Grid.java.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a5b347bb6b70ec707b0622dc9201e1415}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!Grid@{Grid}}
\index{Grid@{Grid}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{Grid}]{\setlength{\rightskip}{0pt plus 5cm}com.engine.pattern.grid.Grid.Grid ()}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a5b347bb6b70ec707b0622dc9201e1415}


Definition at line 27 of file Grid.java.

References com.engine.pattern.grid.Grid.createGrid().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=218pt]{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a5b347bb6b70ec707b0622dc9201e1415_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_ae1a29439b5aa3a609dc1a7a0a9bf6a9d}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!Grid@{Grid}}
\index{Grid@{Grid}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{Grid}]{\setlength{\rightskip}{0pt plus 5cm}com.engine.pattern.grid.Grid.Grid (Integer {\em xLength}, \/  Integer {\em yLength})}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_ae1a29439b5aa3a609dc1a7a0a9bf6a9d}

\begin{DoxyParams}{Parameters}
\item[{\em xLength}]\item[{\em yLength}]\end{DoxyParams}


Definition at line 36 of file Grid.java.

References com.engine.pattern.grid.Grid.createGrid().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=218pt]{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_ae1a29439b5aa3a609dc1a7a0a9bf6a9d_cgraph}
\end{center}
\end{figure}


\subsection{Member Function Documentation}
\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a183610ee5ff0d8a684fca8805587bca9}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!addPawn@{addPawn}}
\index{addPawn@{addPawn}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{addPawn}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.grid.Grid.addPawn ({\bf Pawn} {\em Pawn}, \/  Integer {\em ligne}, \/  Integer {\em colonne})}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a183610ee5ff0d8a684fca8805587bca9}

\begin{DoxyParams}{Parameters}
\item[{\em Pawn}]\item[{\em ligne}]\item[{\em colonne}]\end{DoxyParams}


Definition at line 79 of file Grid.java.

References com.engine.pattern.grid.Grid.grid.

Referenced by com.engine.controller.Controller.initPlace(), and com.engine.pattern.grid.Grid.movePawn().\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a6adcc44739c852c828cbad8afce687df}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!createGrid@{createGrid}}
\index{createGrid@{createGrid}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{createGrid}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.grid.Grid.createGrid ()\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a6adcc44739c852c828cbad8afce687df}


Definition at line 46 of file Grid.java.

References com.engine.pattern.grid.Grid.grid, com.engine.pattern.grid.Grid.xLength, and com.engine.pattern.grid.Grid.yLength.

Referenced by com.engine.pattern.grid.Grid.Grid().\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a0f1058ac33744f6b4317cd1a0b5b9041}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!getGrid@{getGrid}}
\index{getGrid@{getGrid}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{getGrid}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Pawn} \mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]} com.engine.pattern.grid.Grid.getGrid ()}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a0f1058ac33744f6b4317cd1a0b5b9041}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 137 of file Grid.java.

References com.engine.pattern.grid.Grid.grid.

Referenced by com.engine.controller.Controller.initialiseGrid(), com.engine.controller.Controller.moveMetabolite(), com.engine.controller.Controller.moveProtPhos(), and com.engine.controller.Controller.start().\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a5127bee473bcd7cf3efe9a30a8239076}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!getPawn@{getPawn}}
\index{getPawn@{getPawn}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{getPawn}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Pawn} com.engine.pattern.grid.Grid.getPawn (Integer\mbox{[}$\,$\mbox{]} {\em coordinated})}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a5127bee473bcd7cf3efe9a30a8239076}

\begin{DoxyParams}{Parameters}
\item[{\em coordinated}]\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 66 of file Grid.java.

References com.engine.pattern.grid.Grid.grid.\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a8d7ede70a2d7efb31eb3f99d568073cd}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!getPawn@{getPawn}}
\index{getPawn@{getPawn}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{getPawn}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Pawn} com.engine.pattern.grid.Grid.getPawn (Integer {\em ligne}, \/  Integer {\em colonne})}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a8d7ede70a2d7efb31eb3f99d568073cd}

\begin{DoxyParams}{Parameters}
\item[{\em ligne}]\item[{\em colonne}]\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 56 of file Grid.java.

References com.engine.pattern.grid.Grid.grid.

Referenced by com.engine.controller.Controller.initPlace(), com.engine.controller.Controller.moveMetabolite(), com.engine.pattern.grid.Grid.movePawn(), and com.engine.controller.Controller.moveProtPhos().\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a08382c82c251177f1179452af72738f2}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!movePawn@{movePawn}}
\index{movePawn@{movePawn}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{movePawn}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.grid.Grid.movePawn (Integer\mbox{[}$\,$\mbox{]} {\em coordinated1}, \/  Integer\mbox{[}$\,$\mbox{]} {\em coordinated2})}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a08382c82c251177f1179452af72738f2}

\begin{DoxyParams}{Parameters}
\item[{\em coordinated1}]\item[{\em coordinated2}]\end{DoxyParams}


Definition at line 121 of file Grid.java.

References com.engine.pattern.grid.Grid.addPawn(), com.engine.pattern.grid.Grid.getPawn(), and com.engine.pattern.grid.Grid.removePawn().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=239pt]{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a08382c82c251177f1179452af72738f2_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_ae50e4b2e83526bc5a35cefb4b44099ca}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!movePawn@{movePawn}}
\index{movePawn@{movePawn}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{movePawn}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.grid.Grid.movePawn (Integer {\em ligne1}, \/  Integer {\em colonne1}, \/  Integer {\em ligne2}, \/  Integer {\em colonne2})}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_ae50e4b2e83526bc5a35cefb4b44099ca}

\begin{DoxyParams}{Parameters}
\item[{\em ligne1}]\item[{\em colonne1}]\item[{\em ligne2}]\item[{\em colonne2}]\end{DoxyParams}


Definition at line 109 of file Grid.java.

References com.engine.pattern.grid.Grid.addPawn(), com.engine.pattern.grid.Grid.getPawn(), and com.engine.pattern.grid.Grid.removePawn().

Referenced by com.engine.controller.Controller.moveMetabolite(), and com.engine.controller.Controller.moveProtPhos().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=239pt]{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_ae50e4b2e83526bc5a35cefb4b44099ca_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a2426f8b4648132fa7198cce873862455}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!removePawn@{removePawn}}
\index{removePawn@{removePawn}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{removePawn}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.grid.Grid.removePawn (Integer\mbox{[}$\,$\mbox{]} {\em coordinated})}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a2426f8b4648132fa7198cce873862455}

\begin{DoxyParams}{Parameters}
\item[{\em coordinated}]\end{DoxyParams}


Definition at line 96 of file Grid.java.

References com.engine.pattern.grid.Grid.grid.\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a22e999535acd54344f474905faeba722}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!removePawn@{removePawn}}
\index{removePawn@{removePawn}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{removePawn}]{\setlength{\rightskip}{0pt plus 5cm}void com.engine.pattern.grid.Grid.removePawn (Integer {\em ligne}, \/  Integer {\em colonne})}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a22e999535acd54344f474905faeba722}

\begin{DoxyParams}{Parameters}
\item[{\em ligne}]\item[{\em colonne}]\end{DoxyParams}


Definition at line 88 of file Grid.java.

References com.engine.pattern.grid.Grid.grid.

Referenced by com.engine.pattern.grid.Grid.movePawn(), and com.engine.controller.Controller.moveProtPhos().

\subsection{Member Data Documentation}
\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a46c056a83e5d6d01141387354e297797}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!grid@{grid}}
\index{grid@{grid}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{grid}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Pawn} \mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]} {\bf com.engine.pattern.grid.Grid.grid}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a46c056a83e5d6d01141387354e297797}


Definition at line 22 of file Grid.java.

Referenced by com.engine.pattern.grid.Grid.addPawn(), com.engine.pattern.grid.Grid.createGrid(), com.engine.pattern.grid.Grid.getGrid(), com.engine.pattern.grid.Grid.getPawn(), and com.engine.pattern.grid.Grid.removePawn().\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a90edf102f439c2261ac3e30b4b821d7c}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!xLength@{xLength}}
\index{xLength@{xLength}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{xLength}]{\setlength{\rightskip}{0pt plus 5cm}Integer {\bf com.engine.pattern.grid.Grid.xLength} = 30\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_a90edf102f439c2261ac3e30b4b821d7c}


Definition at line 14 of file Grid.java.

Referenced by com.engine.pattern.grid.Grid.createGrid().\hypertarget{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_abbf5724bae8f5b318deef7954b12b4d8}{
\index{com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}!yLength@{yLength}}
\index{yLength@{yLength}!com::engine::pattern::grid::Grid@{com::engine::pattern::grid::Grid}}
\subsubsection[{yLength}]{\setlength{\rightskip}{0pt plus 5cm}Integer {\bf com.engine.pattern.grid.Grid.yLength} = 30\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid_abbf5724bae8f5b318deef7954b12b4d8}


Definition at line 18 of file Grid.java.

Referenced by com.engine.pattern.grid.Grid.createGrid().

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
com/engine/pattern/grid/\hyperlink{Grid_8java}{Grid.java}\end{DoxyCompactItemize}
